<template>
    <div>
         <mt-swipe :auto="4000">
            <mt-swipe-item v-for="(item,i) in img" :key="i">
                <img :src="item.img_url" alt="">
            </mt-swipe-item>
        </mt-swipe>
    </div>
</template>
<script>
export default {
    //接受组件传递过来的值
    props:["img"]
}
</script>
<style lang="scss">
.mint-swipe{
        height:200px;
        
        .mint-swipe-items-wrap{
            &:nth-child(1){
                background: red;
            } 
            :nth-child(2){
                background: blue;
            } 
            :nth-child(3){
                background: greenyellow;
            } 
            img{
                width: 100%;
                height: 100%;
            }
            
        }
        
    }
    .mui-grid-view.mui-grid-9{
        background: #FFF;
        border: 0;
        img{
            width: 60px;
            height: 60px;
        }
    }
    .mui-grid-view.mui-grid-9 .mui-table-view-cell{
        border: 0;
    }
</style>